import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
import axios from 'axios'
// import SocketIo from 'socket.io-client';
// import VueSocketIo from 'vue-socket.io';

Vue.config.productionTip = false;
// axios.defaults.baseURL = 'http://49.234.36.18:90'
Vue.prototype.$axios = axios;
// axios.defaults.baseURL = 'http://192.168.43.48:3000'
axios.defaults.baseURL = 'http://localhost:3000'
    // axios.defaults.withCredentials = true;
    // Vue.use(new VueSocketio({
    //         connection: 'http://127.0.0.1:3000/'
    //     }))
    /* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App),
})